package com.cn.xiaonuo.tcrfinance.tcrorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.xiaonuo.common.entity.BusinessMessage;
import com.cn.xiaonuo.tcrfinance.tcrorder.entity.PvOrder;
import com.cn.xiaonuo.tcrfinance.tcrorder.param.PvBuySellOrderParam;
import com.cn.xiaonuo.tcrfinance.tcrorder.param.PvOrderParam;
import com.github.pagehelper.PageInfo;
import java.util.Map;

public interface PvOrderService extends IService<PvOrder> {


    PageInfo<Map<String, Object>> queryHtProductList(Map<String, Object> params);

    /**
     * 上票
     * @param pvOrderParam
     * @return
     */
    BusinessMessage ticketUp(PvOrderParam pvOrderParam);

    /**
     * 获取当前时间的T+几的时间
     *
     */
    String getHoliday(Integer  days) throws Exception;

    /**
     * 买卖交易记录
     * @param params
     * @return
     */
    BusinessMessage selectAllTradeDetail(PvBuySellOrderParam params) ;

    /**
     * 促销活动记录
     * @param params
     * @return
     */
    BusinessMessage activitiesList(PvBuySellOrderParam params) ;

}
